﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class active_WithMe_admin_login : System.Web.UI.Page
{
    protected string message = string.Empty;
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Request.Form["username"] != null && Request.Form["password"] != null)
        {
            if (Request.Form["Username"].ToString() == "9158com" && Request.Form["password"] == "9158com")
            {

                Session["user"] = Request.Form["Username"].ToString();
                Response.Redirect("index.aspx");
                return;
            }
            else
            {
                message = "密码或者用户名错误！";
            }
        }
 
    }
}
